#include "StdUdp.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
// #include <graphics.h>


void main(int argc ,char *argv[])
{
    if(argc!=3)
    {
        printf("invalid number\n");
        return;
    }
    UdpS *s=InitUdpServer(argv[1],atoi(argv[2]));
    while(1)
    {
        char temp[100]={0};
        UdpServerReceive(s,temp,100);
        printf("srever :%s\n",temp);
    }
}